<extend name="Base/common2"/>
<block name="body">
<div id="J_main" class="container main">
    <!-- tec start -->
    <section class="clearfix tec tec-detail">
        <!-- tec content start -->
        <div class="fl content">
            <!-- basic start -->
            <div class="panel tec-list basic">
                <div class="title">
                    <h3>{$info.skill}</h3>
                </div>
                <span class="offer">¥ 500 起/天</span>
                <div class="attrs">
                    <span class="address">{$info.address|default='未写地址'}</span><span class="job">整包</span>
                </div>
                <p class="date">可工作时间：周六全天、周末全天、工作日晚上</p>
                <div class="tags">
                    <span class="tag">前端开发</span>
                    <span class="tag">产品规划</span>
                    <span class="tag">Discuz!</span>
                </div>
                <div class="desc">
                    <p><span>技能介绍</span></p>
                    <pre>{$info.workdesc}</pre>
                </div>
            </div>
            <!-- basic end -->
            <!-- works start -->
            <div class="panel works">
                <div class="panel-title">
                    <h2>作品案例</h2>
                </div>
                <div class="panel-content">
                    <ul>
                        <li>
                            <h3>教育经历</h3>
                            <pre class="desc">{$info.edudesc}</pre>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
        <!-- tec content end -->
        <!-- aside start -->
        <div class="fr panel aside">
            <div class="invite">
                <p><span>发起邀请</span></p>
                <p>我们将尽快与您取得联系</p>
                <a class="btn btn-orange" href="{:U('Tech/offerform')}">发起邀请</a>
            </div>
            <div class="count">
                <p><span>浏览次数</span></p>
                <p>222次</p>
            </div>
        </div>
        <!-- aside end -->

        <!--<a class="btn btn-orange invite-btn" href="{:U('Tech/offerform', [ 'id' => $info['id'] ] )}">发起邀请</a>-->
        <a class="btn btn-orange invite-btn" href="{:U('Tech/lists')}">返回列表</a>

        <!-- preview start -->
        <section id="J_preview" class="preview">
            <div class="wrapper">
                <div class="inner">
                    <i id="J_preview-close" class="iconfont icon-icon_close close"></i>
                    <img src="">
                </div>
            </div>
        </section>
        <!-- preview end -->
    </section>
    <!-- tec end -->

    <input id="requireModule" type="hidden" data-module="tec">

</div>
</block>
<block name="script">
<script type="text/javascript">
    (function() {
        var navPanel = $('.nav-panel');
        $('.icon-icon_menu').click(function(){
            //headerMenu.addClass('menuShow');
            navPanel.css('display','block');
        });
        //$('.icon-nav-close').click(function(){
        $('.icon-icon_close_m').click(function(){
            navPanel.css('display','none');
        });

        var setHeader = function() {
            var st = $(window).scrollTop();
            if(st > 0) {
                $('.header-pc').removeClass('header-transparent');
            } else {
                $('.header-pc').addClass('header-transparent');
            }
        };
        setHeader();
        $(window).scroll(function() {
            setHeader();
        });
    })();
</script>
</block>